package com.mtiiot.fstcpserver.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * Created by lcy on 16-6-16.
 */
@Component("fsConfig")
public class FsConfig {
    @Value("${fs.host}")
    private String fsHost;
    @Value("${fs.metadata.inqueuetype}")
    private String metadataInQueueType;
    @Value("${email.fromUsername}")
    private String fromUsername;
    @Value("${email.fromPassword}")
    private String fromPassword;
    @Value("${email.host}")
    private String host;
    @Value("${use_ftp_redis_key_count}")
    private int useFtpRedisKeyCount;

    public int getUseFtpRedisKeyCount() {
        return useFtpRedisKeyCount;
    }
    public void setUseFtpRedisKeyCount(int useFtpRedisKeyCount) {
        this.useFtpRedisKeyCount = useFtpRedisKeyCount;
    }
    public String getFsHost() {
        return fsHost;
    }

    public void setFsHost(String fsHost) {
        this.fsHost = fsHost;
    }

    public String getMetadataInQueueType() {
        return metadataInQueueType;
    }

    public void setMetadataInQueueType(String metadataInQueueType) {
        this.metadataInQueueType = metadataInQueueType;
    }

    public String getFromUsername() {
        return fromUsername;
    }

    public void setFromUsername(String fromUsername) {
        this.fromUsername = fromUsername;
    }

    public String getFromPassword() {
        return fromPassword;
    }

    public void setFromPassword(String fromPassword) {
        this.fromPassword = fromPassword;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }
}
